.upload-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.upload-area__label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 4px;
}

.upload-area__required {
  color: #dc2626;
  font-weight: 600;
}

.upload-area__dropzone {
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #fafafa;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-area__dropzone:hover {
  border-color: #22c55e;
  background-color: #f0f9f0;
}

.upload-area__dropzone--dragover {
  border-color: #22c55e;
  background-color: #f0f9f0;
  transform: scale(1.02);
}

.upload-area__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.upload-area__icon {
  font-size: 32px;
  color: #9ca3af;
}

.upload-area__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.upload-area__primary {
  font-size: 16px;
  font-weight: 500;
  color: #374151;
}

.upload-area__secondary {
  font-size: 14px;
  color: #6b7280;
}

.upload-area__files {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.upload-area__file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.upload-area__file:hover {
  background-color: #f0f9f0;
  border-color: #d1fae5;
}

.upload-area__file-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.upload-area__file-name {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.upload-area__file-size {
  font-size: 12px;
  color: #6b7280;
}

.upload-area__remove-btn {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background-color: #fee2e2;
  color: #dc2626;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.2s ease;
}

.upload-area__remove-btn:hover {
  background-color: #fecaca;
  transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .upload-area__dropzone {
    padding: 30px 16px;
    min-height: 100px;
  }
  
  .upload-area__icon {
    font-size: 24px;
  }
  
  .upload-area__primary {
    font-size: 14px;
  }
  
  .upload-area__secondary {
    font-size: 12px;
  }
}
